package com.coder.friend.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @BelongsProject:coder_parent
 * @BelongsPackage:com.coder.friend.client
 * @Author:linchong
 * @CreateTime:2019-01-19 17:55
 * @Description:
 */
@FeignClient("coder-user")
public interface UserClient {
    @RequestMapping(value = "/user/{userid}/{friendid}/{x}",method = RequestMethod.PUT)
    public void updatefanscountandfollowcount(@PathVariable("userid") String userid,
                                              @PathVariable("friendid")  String friendid,
                                              @PathVariable("x") int x);
}
